package xcmg.device.service.vo.delivery;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by sqq on 2018/1/12.
 */
@Data
public class DeliveryReceiptVO {
    private String id;

    private String billNo;

    private String orgId;

    private String orgName;

    private String dealerOrgId;

    private String dealerOrgName;

    private String shippingMethod;

    private String settlementId;

    private String settlementDesc;

    private String receiverName;

    private String receiverTel;

    private String receiverFax;

    private String receiverAddress;

    private Date deliveryDate;

    private Date arrivalDate;

    private String carrierOrgId;

    private String carrierOrgName;

    private String carrierUserName;

    private String carrierTel;

    private String carrierCar;

    private BigDecimal carrierAmount;

    private BigDecimal productAmount;

    private String auditStatus;

    private String auditDesc;

    private String auditId;

    private String auditName;

    private Date auditDate;

    private String auditMessage;

    private String deliveryStatus;

    private String deliveryDesc;

    private Boolean isDel;

    private String remark;

    private String createId;

    private String createName;

    private Date createDate;

    private String createOrgId;

    private String createOrgName;

    private String updateId;

    private Date updateDate;

    private Integer commitType;

    private String commitId;

    private Date commitTime;

    private String salesType;

    private String salesTypeDesc;

    private String freightNo;

    private String receiverSite;

    private String billType;

    private String receiveMessage;

    private Date receiveDate;

    /**
     * 添加字段  add by huhuawei
     * 2018-9-19
     * 物流基础信息表ID
     */
    private String basicId;
    /**
     * 添加字段  add by huhuawei
     * 2018-9-19
     * 承诺时间
     */
    private BigDecimal commitmentTime;

    private Integer isTimeOut;

    /**
     * 是否异常：0否 1是
     */
    private Integer isAbnormal;

    /**
     * 出库状态 0未出库1部分出库2已出库
     */
    private Integer outStatus;

    /**
     * 新建其他入库状态 0未开始1部分完成2已完成
     */
    private Integer sendStatus;

    /**
     * 调度员
     */
    private String dispatcherName;

    private String sapCode;

    /**
     * 收货地址编码
     */
    private String addressCode;

    private String billNos;

    private List<String> billNosList;

    private Date createDateStart;

    private Date createDateEnd;

    private Date deliveryDateStart;

    private Date deliveryDateEnd;

    private Date receiveDateStart;

    private Date receiveDateEnd;

    /**
     * 发运方式编码
     */
    private String shippingMethodId;

    /**
     * 发运方式二级名称
     */
    private String shippingSecondMethod;

    /**
     * 发运方式二级编码
     */
    private String shippingSecondMethodId;

    /**
     * 采购级别
     */
    private String purchaseLevel;

    /**
     * 附件名称
     */
    private String attachName;

    private String billTypeDesc;

    /**
     * 发出仓库
     */
    private String outLocation;

    //是否是三日计划0：否，1：是
    private Integer threeDayPlan;
    //物流公司编号
    private String expressCode;
    //物流公司编号
    private String expressName;

    /**
     * 采购单号
     */
    private String purchaseNo;

    /**
     * 是否显示未发货数据。0否1是
     */
    private Integer showNotDelivery;

    /**
     * 实际到货时间
     */
    private Date realArrivalDate;

    private Date realArrivalDateStart;

    private Date realArrivalDateEnd;

    private String purchaseLevelId;

    /**
     * 是否到货。0否1是
     */
    private Integer arrivalFlag;

    /**
     * 当天是否有物流信息录入。0否1是
     */
    public static final int RECORD_FLAG_YES = 1, RECORD_FLAG_NO = 0;
    private Integer recordFlag;

    private String serviceNo;
    //允许查看仓库（仓库编码）
    private List<String> warehousePermitList;

    private String serviceName;

    private BigDecimal totalWeight;

    private BigDecimal freight;

    private String purchaseContractNo;

    private Date deliveryTime;

    private String country;

    //进出口打印--验箱人
    private String checkerName;
    private String machineModel;
    /**
     * 辅料费用
     */
    private BigDecimal accessoriesFee;

    /**
     * 组织机构名称
     */
    private String deptName;

    /**
     * 销售订单创建人
     */
    private String salesName;

    /**
     * 销售订单创建人
     */
    private String salesId;

    //进出口运单号
    private String jckBillNo;

    //是否关联进出口运单 0 否 1是
    private Integer isLinked;

    //物流状态标识 0 未发货 1 已发货/已签收
    private Integer isDelivery;

    //同步ns系统状态 0 未同步 1 已同步 2 部分同步
    private Integer syncNsStatus;
}
